provider Projects PUT /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/keys/{key_id}/
@utdk/sentry /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/keys/{key_id}/
Update a Client Key
Update various settings for a client key.
organization_id_or_slug path required
The ID or slug of the organization the resource belongs to.
string
project_id_or_slug path required
The ID or slug of the project the resource belongs to.
string
key_id path required
The ID of the key to update.
string

Try it

Authentication
Configure credentials for API Reference
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

updateAClientKey
PUT/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/keys/{key_id}/
Update various settings for a client key.

Parameters

required

The ID or slug of the organization the resource belongs to.

required

The ID or slug of the project the resource belongs to.

required

The ID of the key to update.

Input

The name for the client key

Activate or deactivate the client key.

Applies a rate limit to cap the number of errors accepted during a given time window. To disable entirely set `rateLimit` to null. ```json { "rateLimit": { "window": 7200, // time in seconds "count": 1000 // error cap } } ```

The Sentry Javascript SDK version to use. The currently supported options are: * `latest` - Most recent version * `7.x` - Version 7 releases

Configures multiple options for the Javascript Loader Script. - `Performance Monitoring` - `Debug Bundles & Logging` - `Session Replay` - Note that the loader will load the ES6 bundle instead of the ES5 bundle. - `User Feedback` - Note that the loader will load the ES6 bundle instead of the ES5 bundle. - `Logs and Metrics` - Note that the loader will load the ES6 bundle instead of the ES5 bundle. Requires SDK >= 10.0.0. ```json { "dynamicSdkLoaderOptions": { "hasReplay": true, "hasPerformance": true, "hasDebug": true, "hasFeedback": true, "hasLogsAndMetrics": true } } ```

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sentry from '@utdk/sentry';

await sentry.updateAClientKey()